package com.orange.modules.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "t_auth_rectification_report")
@Entity
public class AuthRectificationReport {

	private String pid;
	private String schoolId;
	private String filePath;
	private String fileName;
	private String createTime;
	private int year;
	private String state;
	
	private String schoolName;
	private String major;
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_school_id")
	public String getSchoolId() {
		return schoolId;
	}
	@Column(name = "s_filepath")
	public String getFilePath() {
		return filePath;
	}
	@Column(name = "s_filename")
	public String getFileName() {
		return fileName;
	}
	@Column(name = "s_create_time")
	public String getCreateTime() {
		return createTime;
	}
	
	public void setPid(String pid) {
		this.pid = pid;
	}
	@Column(name = "s_state")
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	@Column(name = "s_year")
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	@Transient
	public String getSchoolName() {
		return schoolName;
	}
	@Transient
	public String getMajor() {
		return major;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	
	
}
